<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background-color: rgb(245, 245, 245);
        }

        .box {
            width: 300px;
            height: 420px;
            background-color: #fff;
            margin: 100px auto;
            /* 块级盒子水平居中 */
        }

        .box img {
            /* 图片宽度和父元素一样 */
            width: 100%;
        }

        .review {
            margin-top: 30px;
            font-size: 14px;
            height: 70px;
            padding: 0 28px;
            /* 这个段落没有weight属性所以盒子不会被撑大 */
        }

        .pingjia {
            font-size: 12px;
            color: #b8b7a7;
            margin-top: 20px;
            padding: 0 28px;
        }

        .name {
            border-right: 1px solid #e6e5e2;
            width: 180px;
            height: 20px;
            font-size: 16px;
            padding-left: 28px;
            padding-right: 20px;
            margin-top: 20px;
            display: inline-block;
        }

        a {
            text-decoration: none;
            color: black;

        }

        a:hover {
            color: black;
            text-decoration: underline;
        }


        .jiage {
            color: #ff7212;
            font-size: 16px;
            display: inline-block;
            margin-top: 20px;
            margin-left: 2px;
        }
    </style>
</head>

<body>
    <div class="box">
        <img src="img2/mierji.png" alt="">
        <p class="review">快递牛，整体不错蓝牙可以说秒连。红米给力
        </p>
        <div class="pingjia">来自于12345678的评价</div>
        <div class="name"><a href="#" target="_blank">redmi airdots真无线蓝...</a></div>
        <div class="jiage">99.9元</div>
    </div>
</body>

</html>